package com.zy.kotlinmvplib.api


import com.zy.kotlinbaselibrary.base.bean.BaseEntity
import com.zy.kotlinmvplib.bean
import io.reactivex.Observable
import retrofit2.http.GET
import retrofit2.http.Query


interface Api{

    @GET("video_classes")
    abstract fun test(): Observable<BaseEntity<bean>>


//    https://www.apiopen.top/createUser?key=00d91e8e0cca2b76f515926a36db68f5&phone=13594347817&passwd=123654

    @GET("createUser")
    abstract fun test1(@Query("key") key: String, @Query("phone") phone: String, @Query("passWord") passWord: String): Observable<BaseEntity<bean>>

}
